package com.leap.meeting.pojo;

public class User {
    private Integer id;
    private String account;
    private String realName;//real_name
    private String apartment;
    private String phone;
    private String email;
    private String password;
    private String duty;

    public User() {
    }

    public User(Integer id, String account, String realName, String apartment, String phone, String email, String password, String duty) {
        this.id = id;
        this.account = account;
        this.realName = realName;
        this.apartment = apartment;
        this.phone = phone;
        this.email = email;
        this.password = password;
        this.duty = duty;
    }

    /**
     * 获取
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取
     * @return account
     */
    public String getAccount() {
        return account;
    }

    /**
     * 设置
     * @param account
     */
    public void setAccount(String account) {
        this.account = account;
    }

    /**
     * 获取
     * @return realName
     */
    public String getRealName() {
        return realName;
    }

    /**
     * 设置
     * @param realName
     */
    public void setRealName(String realName) {
        this.realName = realName;
    }

    /**
     * 获取
     * @return apartment
     */
    public String getApartment() {
        return apartment;
    }

    /**
     * 设置
     * @param apartment
     */
    public void setApartment(String apartment) {
        this.apartment = apartment;
    }

    /**
     * 获取
     * @return phone
     */
    public String getPhone() {
        return phone;
    }

    /**
     * 设置
     * @param phone
     */
    public void setPhone(String phone) {
        this.phone = phone;
    }

    /**
     * 获取
     * @return email
     */
    public String getEmail() {
        return email;
    }

    /**
     * 设置
     * @param email
     */
    public void setEmail(String email) {
        this.email = email;
    }

    /**
     * 获取
     * @return password
     */
    public String getPassword() {
        return password;
    }

    /**
     * 设置
     * @param password
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * 获取
     * @return duty
     */
    public String getDuty() {
        return duty;
    }

    /**
     * 设置
     * @param duty
     */
    public void setDuty(String duty) {
        this.duty = duty;
    }

    public String toString() {
        return "User{id = " + id + ", account = " + account + ", realName = " + realName + ", apartment = " + apartment + ", phone = " + phone + ", email = " + email + ", password = " + password + ", duty = " + duty + "}";
    }
}
